package com.cqemme.activitiservice.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author nejery
 */
@ToString
@Component
@ApiModel(value="流程定义模型")
public class ProcessDefinitionPo implements Serializable {

    @ApiModelProperty(value = "流程名称")
    private String name;

    @ApiModelProperty(value = "发布版本")
    private String version;

    @ApiModelProperty(value = "流程描述")
    private String description;


    @ApiModelProperty(value = "流程分类")
    private String category;

    @ApiModelProperty(value = "部署ID")
    private String deploymentId;

    @ApiModelProperty(value = "数据库主键")
    private String id;


    @ApiModelProperty(value = "流程标识")
    private String key;

    @ApiModelProperty(value = "是否挂起")
    private String suspendedState;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getDeploymentId() {
        return deploymentId;
    }

    public void setDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getSuspendedState() {
        return suspendedState;
    }

    public void setSuspendedState(String suspendedState) {
        this.suspendedState = suspendedState;
    }
}
